OBJ = $(patsubst %.cpp, %.o, $(wildcard *.cpp))
SHLIBS = ../../../redist/libcastle.so.1.0.0

all: $(OBJ)
	$(CXX) -g $^ -o exportcert $(SHLIBS)

$(OBJ): %.o: %.cpp
	$(CXX) -c -g $< -o $@
clean:
	rm -f *.o exportcert
